package monitorandwebserver;

//Klasa reprezentująca wirtualne połączenie pomiędzy klientem a żądanym zasobem
import java.net.Socket;
import java.net.UnknownHostException;

public class VirtualConnection {

    public VirtualConnection(int subscribtionID,NetworkAddress client,String resourceID, String metric) {
        this.subscribtionID = subscribtionID;
        this.clientNetworkAddress = client;
        this.resourceID = resourceID;
        this.metric = metric;
    }
    public int subscribtionID;
    public String resourceID;
    public String metric;
    public NetworkAddress clientNetworkAddress;

    public Socket clientSocket=null;
}
